package com.itheima_12;

public class test_12_3 {
    public static void main(String[] args) {
        int arr=Arr(56,513,153);
        System.out.println(arr);
    }

    private static int Arr(int...arr) {
        int sum=0;
        for (int i = 0; i < arr.length; i++) {
            sum+=arr[i];
        }
        return sum;
    }
}
